package snafu.implementation.states.literals.position;

import snafu.framework.states.literals.StateLiteralView;
import snafu.framework.view.Access;
import snafu.framework.worlds.Position;

public class PositionLiteralView extends StateLiteralView<Position> implements PositionLiteral {
	public PositionLiteralView(Access access, PositionLiteralItself literal) {
		super(access, literal);
	}
	
	@Override
	public Position getValue() {
		return new Position(literal.getValue());
	}
	
	@Override
	public boolean equals(Object o) {
		return literal.equals(o);
	}
}
